package com.dhcc.bpm.modules.api.vo;

import org.springblade.core.mp.base.Excel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Title
 * @ClassName PolicyItemMetadataVO
 * @Desription
 * @Author zhangzexu
 * @Date 2020/12/7 下午12:57
 * @Version V1.0
 */

@Data
public class PolicyItemMetadataVO {

    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private Long id;

    /**
     * 原接口 item ID
     */
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "原接口 item ID")
    @Excel(name = "原接口 item ID")
    private Long policyItemId;

    /**
     * 标准接口 ITEM ID
     */
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "标准接口 ITEM ID")
    @Excel(name = "标准接口 ITEM ID")
    private Long apiMetadataId;

    /**
     * check 条件ID
     */
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "check 条件ID")
    @Excel(name = "check 条件ID")
    private Long policyTagId;

    /**
     * api 条件ID
     */
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "api ID")
    @Excel(name = "api ID")
    private Long apiId;

    private String name;
}
